
.el-dialog__wrapper {
  &:has(div.el-dialog.is-minus) {
    width: 200px;
    height: 42px;
    top: calc(100% - 90px);
    left: 200px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .el-dialog {
    // 全屏
    &.is-fullscreen {
      top: 0!important;
      left: 0!important;
      margin: 0!important;
      width: 100%!important;
      height: 100%!important;
    }

    // 最小化
    &.is-minus {
      top: 0!important;
      left: 0!important;
      margin: 0 !important;
    }

    .el-dialog__header {
      background: #f0f0f0;
      font-weight: 600;
      color: #999999;
      padding: 0 0 0 10px;
      height: 40px;
      line-height: 1.74;
      border-bottom: 1px solid #cccccc;
      box-sizing: border-box;
      border-radius: 3px 3px 0 0;
      display: flex;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: center;

      .el-dialog__title, .slot-title {
        display: inline-block;
        width: 100%;
        margin-right: 10px;
        overflow: hidden;
        height: 25px;
        line-height: 25px;
        box-sizing: border-box;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow-wrap: break-word;
      }

      .el-dialog__headerbtn {
        top: 0;
        right: 0;
        position: relative;
        margin-right: 10px;
      }
    }
  }
}

